# Top-level Makefile

# Variables
SUBDIRS = hello_world stellaris_test

# Rules
.PHONY: all $(SUBDIRS)

all: $(SUBDIRS)

$(SUBDIRS):
	$(MAKE) -C $@

# Clean up
clean:
	for dir in $(SUBDIRS); do \
        $(MAKE) -C $$dir clean; \
	done